package com.ruoyi.invoice.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 tb_invoice
 * 
 * @author ruoyi
 * @date 2023-02-04
 */
public class TbInvoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户Id */
    @Excel(name = "用户Id")
    private Long userId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 税号 */
    @Excel(name = "税号")
    private String taxMark;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String mailbox;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal money;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setTaxMark(String taxMark) 
    {
        this.taxMark = taxMark;
    }

    public String getTaxMark() 
    {
        return taxMark;
    }
    public void setMailbox(String mailbox) 
    {
        this.mailbox = mailbox;
    }

    public String getMailbox() 
    {
        return mailbox;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("companyName", getCompanyName())
            .append("taxMark", getTaxMark())
            .append("mailbox", getMailbox())
            .append("money", getMoney())
            .toString();
    }
}
